//
//  IMIGLView.h
//  Pods
//
//  Created by 创米 on 2018/11/17.
//

#import "MHGLView.h"

@interface IMIGLProgramHandler : NSObject <MHGLProgramHandlerProtocol>

@property (nonatomic, assign) BOOL enableLensCorrent;
@property (nonatomic, assign) BOOL enableLensCorrentOSD;
@property (nonatomic, assign) CGFloat waterMarkOffsetX;
@property (nonatomic, assign) CGFloat waterMarkOffsetY;
/// 矫正角度 单位弧度
@property (nonatomic, assign) CGFloat correctRadius;

@end

@interface IMIGLView : MHGLView

@property (nonatomic, strong) IMIGLProgramHandler *handler;

//ILRenderProtocol协议方法
- (void)enableLensCorrent;
- (void)disableLensCorrent;
- (void)setCorrectionRadius:(CGFloat)radius;
- (void)setWaterMarkOffsetX:(CGFloat)x;
- (void)setWaterMarkOffsetY:(CGFloat)y;
//设置水平2分屏
-(void)renderSplitHorizontalView:(RenderSplitMode)splitMode;

@end
